<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html>
<style type="text/css">
    .a{
        width:260px;
        height:25px;
    }
    .b{
        background-color:#33a3dc;
        width:120px;
        height:35px;
        font-size:16px;
        color:#FFF;
    }
    .head1{
        text-align:center;
        background-color:#6CF;
        width:500px;
        height:620px;
        position:absolute;
        top:50%;
        left:50%;
        margin-left:-250px;
        margin-top:-310px;
        color:#FFF;
        font-size:24px;
        border-radius:25px;
    }</style>
<html>
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
</head>
<title>注册页面</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
<script language="javascript">
    function isValid(form)
    {
        if (form.username.value=="")
        {
            alert("用户名不能为空");
            return false;
        }
        if (form.pwd.value!=form.pwd2.value)
        {
            alert("两次输入的密码不同！");
            return false;
        }
        else  if (form.pwd.value=="")
        {
            alert("用户密码不能为空！");
            return false;
        }
        else return true;
    }
</script>
</head>

<body>
<div class="head1">
        <body bgcolor="#e3e3e3">
        用户注册
        <form action="zcCheck.jsp" name="zcCheck" method="post"></br>
            账号：<input type="text" name="username" class="a"/><br/><br/>
            密码：<input type="password" name="pwd"  class="a"/><br/><br/>
            确认密码：<input type="password"name="pwd2" class="a"/> <br/><br/>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="submit" value="注册" class="b"/>&nbsp;&nbsp;
        </form>
</div>
</body>
</html>